<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Zend_Media_Id3v1</title>
			<link rel="stylesheet" href="styles/phpdoc.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Zend_Media_Id3v1</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class represents a file containing ID3v1 headers as described in  <a href="http://www.id3.org/id3v2-00">The ID3-Tag Specification Appendix</a>.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Ryan Butterfield &lt;<a href="mailto:buttza@gmail.com">buttza@gmail.com</a>&gt;</li>
				<li><span class="field">author:</span> Sven Vollbehr &lt;<a href="mailto:sven@vollbehr.eu">sven@vollbehr.eu</a>&gt;</li>
				<li><span class="field">version:</span> $Id: Id3v1.php 217 2011-05-02 19:09:58Z svollbehr $</li>
				<li><span class="field">copyright:</span> Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)</li>
				<li><span class="field">license:</span> <a href="http://framework.zend.com/license/new-bsd">New BSD License</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="Zend_Media/ID3/_Media---Id3v1.php.html">/Media/Id3v1.php</a> (line <span class="field">40</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
												<div class="var-title">
					<img src="images/StaticVariable.png" alt=" " />
					static <span class="var-type">Array</span>
					<a href="#$genres" title="details" class="var-name">$genres</a>
				</div>
																							</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																												<div class="method-definition">
					<img src="images/StaticMethod.png" alt=" "/>
					static
					<a href="#remove" title="details" class="method-name">remove</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
																<span class="method-result">void</span>
									</div>
																																																																																																				<div class="method-definition">
					<img src="images/Constructor.png" alt=" "/>
					<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type">string|resource|<a href="Zend_Io/Zend_Io_Reader.html">Zend_Io_Reader</a></span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">null</span>])
																<span class="method-result">Zend_Media_Id3v1</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#getAlbum" title="details" class="method-name">getAlbum</a>
										()
																<span class="method-result">string</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#getArtist" title="details" class="method-name">getArtist</a>
										()
																<span class="method-result">string</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#getComment" title="details" class="method-name">getComment</a>
										()
																<span class="method-result">string</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#getGenre" title="details" class="method-name">getGenre</a>
										()
																<span class="method-result">string</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#getTitle" title="details" class="method-name">getTitle</a>
										()
																<span class="method-result">string</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#getTrack" title="details" class="method-name">getTrack</a>
										()
																<span class="method-result">integer</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#getYear" title="details" class="method-name">getYear</a>
										()
																<span class="method-result">string</span>
									</div>
																								<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#setAlbum" title="details" class="method-name">setAlbum</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$album</span>)
																<span class="method-result">void</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#setArtist" title="details" class="method-name">setArtist</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$artist</span>)
																<span class="method-result">void</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#setComment" title="details" class="method-name">setComment</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$comment</span>)
																<span class="method-result">void</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#setGenre" title="details" class="method-name">setGenre</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$genre</span>)
																<span class="method-result">void</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#setTitle" title="details" class="method-name">setTitle</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>)
																<span class="method-result">void</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#setTrack" title="details" class="method-name">setTrack</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$track</span>)
																<span class="method-result">void</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#setYear" title="details" class="method-name">setYear</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$year</span>)
																<span class="method-result">void</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#write" title="details" class="method-name">write</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">null</span>])
																<span class="method-result">void</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#__get" title="details" class="method-name">__get</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
																<span class="method-result">mixed</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#__set" title="details" class="method-name">__set</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
																<span class="method-result">mixed</span>
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="$genres" id="$genres"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="images/Variable.png" />
		<span class="var-title">
			static <span class="var-type">Array</span>
			<span class="var-name">$genres</span>
			 = <span class="var-default">array<br />        ('Blues', 'Classic Rock', 'Country', 'Dance', 'Disco', 'Funk', 'Grunge',<br />         'Hip-Hop', 'Jazz', 'Metal', 'New Age', 'Oldies', 'Other', 'Pop', 'R&amp;B',<br />         'Rap', 'Reggae', 'Rock', 'Techno', 'Industrial', 'Alternative', 'Ska',<br />         'Death Metal', 'Pranks', 'Soundtrack', 'Euro-Techno', 'Ambient',<br />         'Trip-Hop', 'Vocal', 'Jazz+Funk', 'Fusion', 'Trance', 'Classical',<br />         'Instrumental', 'Acid', 'House', 'Game', 'Sound Clip', 'Gospel',<br />         'Noise', 'AlternRock', 'Bass', 'Soul', 'Punk', 'Space', 'Meditative',<br />         'Instrumental Pop', 'Instrumental Rock', 'Ethnic', 'Gothic',<br />         'Darkwave', 'Techno-Industrial', 'Electronic', 'Pop-Folk', 'Eurodance',<br />         'Dream', 'Southern Rock', 'Comedy', 'Cult', 'Gangsta', 'Top 40',<br />         'Christian Rap', 'Pop/Funk', 'Jungle', 'Native American', 'Cabaret',<br />         'New Wave', 'Psychadelic', 'Rave', 'Showtunes', 'Trailer', 'Lo-Fi',<br />         'Tribal', 'Acid Punk', 'Acid Jazz', 'Polka', 'Retro', 'Musical',<br />         'Rock &amp; Roll', 'Hard Rock', 'Folk', 'Folk-Rock', 'National Folk',<br />         'Swing', 'Fast Fusion', 'Bebob', 'Latin', 'Revival', 'Celtic',<br />         'Bluegrass', 'Avantgarde', 'Gothic Rock', 'Progressive Rock',<br />         'Psychedelic Rock', 'Symphonic Rock', 'Slow Rock', 'Big Band',<br />         'Chorus', 'Easy Listening', 'Acoustic', 'Humour', 'Speech', 'Chanson',<br />         'Opera', 'Chamber Music', 'Sonata', 'Symphony', 'Booty Bass', 'Primus',<br />         'Porn Groove', 'Satire', 'Slow Jam', 'Club', 'Tango', 'Samba',<br />         'Folklore', 'Ballad', 'Power Ballad', 'Rhythmic Soul', 'Freestyle',<br />         'Duet', 'Punk Rock', 'Drum Solo', 'A capella', 'Euro-House',<br />         'Dance Hall', 255 =&gt; 'Unknown')</span>			(line <span class="line-number">68</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The genre list.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>

						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="remove" id="remove"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="images/StaticMethod.png" />
		<span class="method-title">static remove</span> (line <span class="line-number">376</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes the ID3v1 tag altogether.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			remove
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span><span class="var-description">: The path to the file.</span>			</li>
				</ul>
		
			
	</div>
<a name="__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">108</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructs the Id3v1 class with given file. The file is not mandatory  argument and may be omitted as a new tag can be written to a file also by  giving the filename to the #write method of this class.</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Zend_Media_Id3_Exception if given file descriptor is not valid</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Zend_Media_Id3v1</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type">string|resource|<a href="Zend_Io/Zend_Io_Reader.html">Zend_Io_Reader</a></span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string|resource|<a href="Zend_Io/Zend_Io_Reader.html">Zend_Io_Reader</a></span>
				<span class="var-name">$filename</span><span class="var-description">: The path to the file,   file descriptor of an opened file, or a <a href="Zend_Io/Zend_Io_Reader.html">Zend_Io_Reader</a> instance.</span>			</li>
				</ul>
		
			
	</div>
<a name="getAlbum" id="getAlbum"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">getAlbum</span> (line <span class="line-number">207</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the album field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getAlbum
		</span>
				()
			</div>
	
		
			
	</div>
<a name="getArtist" id="getArtist"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">getArtist</span> (line <span class="line-number">186</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the artist field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getArtist
		</span>
				()
			</div>
	
		
			
	</div>
<a name="getComment" id="getComment"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">getComment</span> (line <span class="line-number">249</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the comment field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getComment
		</span>
				()
			</div>
	
		
			
	</div>
<a name="getGenre" id="getGenre"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">getGenre</span> (line <span class="line-number">293</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the genre.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getGenre
		</span>
				()
			</div>
	
		
			
	</div>
<a name="getTitle" id="getTitle"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">getTitle</span> (line <span class="line-number">165</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the title field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getTitle
		</span>
				()
			</div>
	
		
			
	</div>
<a name="getTrack" id="getTrack"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">getTrack</span> (line <span class="line-number">271</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the track field.</p>
	<ul class="tags">
				<li><span class="field">since:</span> ID3v1.1</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getTrack
		</span>
				()
			</div>
	
		
			
	</div>
<a name="getYear" id="getYear"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">getYear</span> (line <span class="line-number">228</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the year field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getYear
		</span>
				()
			</div>
	
		
			
	</div>
<a name="setAlbum" id="setAlbum"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">setAlbum</span> (line <span class="line-number">218</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the album field. The field cannot exceed 30  characters in length.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setAlbum
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$album</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$album</span><span class="var-description">: The album.</span>			</li>
				</ul>
		
			
	</div>
<a name="setArtist" id="setArtist"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">setArtist</span> (line <span class="line-number">197</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the artist field. The field cannot exceed 30  characters in length.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setArtist
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$artist</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$artist</span><span class="var-description">: The artist.</span>			</li>
				</ul>
		
			
	</div>
<a name="setComment" id="setComment"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">setComment</span> (line <span class="line-number">260</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the comment field. The field cannot exceed 30  characters in length.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setComment
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$comment</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$comment</span><span class="var-description">: The comment.</span>			</li>
				</ul>
		
			
	</div>
<a name="setGenre" id="setGenre"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">setGenre</span> (line <span class="line-number">310</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the genre field. The value may either be a numerical  code representing one of the genres, or its string variant.</p>
<p class="description"><p>The genre is set to unknown (code 255) in case the string is not found  from the static <a href="Zend_Media/ID3/Zend_Media_Id3v1.html#var$genres">$genres</a> array of this class.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setGenre
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$genre</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$genre</span><span class="var-description">: The genre.</span>			</li>
				</ul>
		
			
	</div>
<a name="setTitle" id="setTitle"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">setTitle</span> (line <span class="line-number">176</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the title field. The field cannot exceed 30  characters in length.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setTitle
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span><span class="var-description">: The title.</span>			</li>
				</ul>
		
			
	</div>
<a name="setTrack" id="setTrack"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">setTrack</span> (line <span class="line-number">283</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the track field. By setting this field you enforce  the 1.1 version to be used.</p>
	<ul class="tags">
				<li><span class="field">since:</span> ID3v1.1</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setTrack
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$track</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$track</span><span class="var-description">: The track number.</span>			</li>
				</ul>
		
			
	</div>
<a name="setYear" id="setYear"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">setYear</span> (line <span class="line-number">239</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a new value for the year field. The field cannot exceed 4  characters in length.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setYear
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$year</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$year</span><span class="var-description">: The year.</span>			</li>
				</ul>
		
			
	</div>
<a name="write" id="write"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">write</span> (line <span class="line-number">328</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Writes the possibly altered ID3v1 tag back to the file where it was read.</p>
<p class="description"><p>If the class was constructed without a file name, one can be provided  here as an argument. Regardless, the write operation will override  previous tag information, if found.</p></p>
	<ul class="tags">
				<li><span class="field">throws:</span> Zend_Media_Id3_Exception if there is no file to write the tag to</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			write
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span><span class="var-description">: The optional path to the file.</span>			</li>
				</ul>
		
			
	</div>
<a name="__get" id="__get"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">__get</span> (line <span class="line-number">391</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Magic function so that $obj-&gt;value will work.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			__get
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The field name.</span>			</li>
				</ul>
		
			
	</div>
<a name="__set" id="__set"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">__set</span> (line <span class="line-number">409</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Magic function so that assignments with $obj-&gt;value will work.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			__set
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The field name.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: The field value.</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Wed, 04 May 2011 08:39:32 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>